//
//  downLoad.h
//  demo
//
//  Created by james on 15/7/20.
//
//

#import <Foundation/Foundation.h>
#import "FilesDownManage.h"
#import <Cordova/CDVPlugin.h>
#import "downItem.h"

@interface downLoad : CDVPlugin <DownloadDelegate>
@property (nonatomic,strong) NSMutableArray *allDownloadArray;
@property (nonatomic,strong) FilesDownManage *downManager;
@property(nonatomic,assign) BOOL isAllowNextRequest;//是否支持连续下载

-(void)createDownload:(CDVInvokedUrlCommand*) command;
-(void)clear:(CDVInvokedUrlCommand*) command;
-(void)startAll:(CDVInvokedUrlCommand*) command;

@end
